package com.yin.ketech.service.user.impl;

import com.yin.ketech.entity.user.SysUser;
import com.yin.ketech.mapper.user.SysUserMapper;
import com.yin.ketech.service.user.ISysUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author luzw
 * @since 2020-06-01
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {


    @Autowired
    private SysUserMapper sysUserMapoer;

    public SysUser selectByUsername(String username){
        return sysUserMapoer.selectByUsername(username);
    }
}
